package com.platform.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ACME相关属性定义以及取值组件
 */
@Data
@Component
@ConfigurationProperties(prefix = "acme")
public class AcmeProperties {


    /**
     *  LetsEncrypt's client KeyPair
     */
    private String letsEncryptKeyPair;

    /**
     * letsEncrypt's server URL
     */
    private String letsEncryptServerPath;

    /**
     * http01 storage
     * 文件验证的产生文件存放地址
     */
    private String verifyFilePath;


    /**
     *
     * 服务器产生的用户私钥文件存储位置
     */
    private String clientFilePath;


}
